# conding = utf-8
import random
import time


def random_str(num):
    r = [str(i) for i in "abcdefghijklmnopqrstuvwxyz"] * 1000;
    value = random.sample(r,num)
    return "".join(value)

def random_num(num):
    r = [str(i) for i in "0123456789"] * 1000;
    value = random.sample(r,num)
    return "".join(value)

def random_dj(num):
    r = [str(i) for i in "0123456789"] * 1000;
    value = random.sample(r, num)
    sj="".join(value)
    return "TQRK"+sj


def random_date(fmt):
    return time.strftime(fmt)

